import UIKit

var num = 1
num = num + num

var array = [1,2,3,4]


print(type(of: array))

array = [1,2,3,4,5]

let a = "name"
// Int Float Double Bool Character String
var dict = [a:"lc","age":"20"]

var arrayOne = [Int]()
//print(arrayOne)

arrayOne.append(1)
arrayOne.append(1)
arrayOne.append(2)
arrayOne.append(5)

let newMember = 9
arrayOne.append(newMember)

//print(arrayOne)


var arrayTwo = [1,2,3,4,5]
//              0 1 2 3 4
arrayTwo.append(2)

let theThirdMember = arrayTwo[2]
print(theThirdMember)
//print(arrayTwo)

let someElements = arrayTwo[1..<3]
print(someElements)
























